package com.ee.dao;

import java.util.List;

import com.ee.bean.User;
import com.ee.bean.Workflow;

public interface WorkflowDao {
	public void saveWorkflow(Workflow workflow);
	
	public void deleteWorkflow(Workflow workflow);
	
	public Workflow findWorkflowById(int id);
	
	public List<Workflow> findAllWorkflows();
	
	public void update(Workflow workflow);
	
	public List<Workflow> findAllWorkflowsByUser(User user);
}
